package com.miszczu.bo;

import java.util.List;

import com.miszczu.model.Classes;
import com.miszczu.model.Users;

public interface UsersBo {
	
	public Users getLoggedUser();
	public Long getNumberOfUsersForClass(String userType, Integer classId);
	public List<Users> getUsersForsClass(String userType, Integer classId);
	public List<Users> getAllStudents();
	public List<Users> getAllTeachers();
	public void addUserToClass(Users user, Classes classes);
	public void save(Users user, String userType);
	public Users getOne(Integer id);
	public boolean isLoginTaken(String login);
	public void update(Users user);
	public void delete(Integer id);
	
}
